package com.xmut.mall.product.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.List;

@Data
public class CateComponentVo {
    private Long id;

    private String title;

    private Integer catLevel;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Boolean expand;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<CateComponentVo> children;
}
